{extend name="template/base_iframe" /}

{block name="content"}

<div class="pd-20" >
	<form class="form form-horizontal" action="{:url('add_proc')}">
		<input type="hidden" name="group_id" id="group-id" value="{$data.id}">

		<div class="row cl">
		    <label class="form-label col-xs-3 col-ms-3">组名称</label>
		    <div class="formControls col-xs-6 col-ms-6">
		        <input name="title" type="text" id="group-title" placeholder="请输入管理组名称" value="{$data.title}" class="input-text radius group-title">
		    </div>
		</div>

		<div class="row cl">
		    <label class="form-label col-xs-3 col-ms-3">状态</label>
		    <div class="skin-minimal">
		      <div class="radio-box">
		        <input type="radio" id="status-1" class="ara-radio" name="status" value="1" {$data.status?'checked':''}/>
		        <label for="status-1">开启</label>
		      </div>
		      <div class="radio-box">
		        <input type="radio" id="status-2" class="ara-radio" name="status" value="0" {$data.status?'':'checked'}/>
		        <label for="status-2">禁用</label>
		      </div>
		    </div>
		</div>

		<div class="row cl">
		    <label class="form-label col-xs-3 col-ms-3">能否删除</label>
		    <div class="skin-minimal">
		      <div class="radio-box">
		        <input type="radio" id="isdelete-1" class="ara-radio" name="isdelete" value="1" {$data.isdelete?'checked':''}/>
		        <label for="isdelete-1">可以</label>
		      </div>
		      <div class="radio-box">
		        <input type="radio" id="isdelete-2" class="ara-radio" name="isdelete" value="0" {$data.isdelete?'':'checked'}/>
		        <label for="isdelete-2">不能</label>
		      </div>
		    </div>
		</div>

		<div class="row cl">
		    <div class="formControls col-xs-6 col-xs-offset-3">
		        <input name="" type="button" class="btn btn-success radius mr-20 submit" value="保存">
		        <input name="" type="reset" class="btn btn-default radius" value="重置">
		    </div>
		</div>     

	</form>
</div>

{/block}



{block name="script"}
	<script type="text/javascript" src="__AJS__/auth_group/add.js"></script>
{/block}